import { useRef } from "react";
import "./index.scss";
import { Map } from "react-bmapgl";
import { whiteStyle, snowStyle } from "../../utils/mapvCommon";

const Bmapgl = () => {
  return (
    <Map
      style={{ height: "100%" }}
      center={new BMapGL.Point(116.404449, 39.914889)}
      zoom={12}
      enableScrollWheelZoom
      mapStyleV2={{styleJson: snowStyle}}
    />
  );
};

export default Bmapgl;
